OGC¶
The tree of well-known OGC services on Overlay Wizard pages is populated from the OGC.json file.
The file contains a JSON object that describes a well-known OGC W*S service, or represents a folder tree of well-known OGC W*S services, for a variety of OGC standards.
Root Object¶
The root object can contain values with the keys "WMS" (for OGC Web Map Services), "WMTS" (for OGC Web Map Tile Services), or "WFS" (for OGC Web Feature Services). In each case the value must be a JSON object that describes a well-known OGC W*S service, or represents a folder tree of well-known OGC W*S services.
W*S Service Object¶
{ // REQUIRED: the name of the OGC W*S service, // for display in the SIS UI "Name": "<ogc_service_name>", // REQUIRED: the GetCapabilities URL of the // OGC W*S service "URL": "http://www.exampleogcservice.com/app?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities", // OPTIONAL: a description of the OGC W*S service, // which will be displayed as the tooltip // (default: '') "Description": "<description>", // OPTIONAL: the API protocol to use // (default: 'KVP') // Valid values: // 'KVP': key/value pair, via HTTP GET // 'POST': HTTP POST // 'REST': HTTP 'RESTful' API (valid for OGC WMTS only) "Protocol": "<protocol>", // OPTIONAL: the user name to use // (default: '') "User": "<user_name>", // OPTIONAL: the plain text password to use with 'User' // (default: '') // Only valid if 'User' is specified "PlainTextPassword": "<plain_text_password>", // OPTIONAL: should a Shibboleth ID service be used? // (default: false) // Only valid if 'User' is not specified "Shibboleth": false }
Folder Object¶
{ // REQUIRED: the name of the folder, // for display in the SIS UI "Name": "<folder_name>", // REQUIRED: the folder children as JSON objects, // which can be further folders, or OGC W*S services "Children": [ {ogc_service_object} or {folder_object} ], // OPTIONAL: a description of the folder, // which will be displayed as the tooltip // (default: '') "Description": "<description"> }
Example¶
{ "WMS": [ { "Name": "World", "Children": [ { "Name": "NASA Scientific Visualization Studio (SVS)", "URL": "http://svs.gsfc.nasa.gov/cgi-bin/wms?", "Description": "The goal of the SVS Image Server is to make NASA Earth Science data and research results directly available to students, educators, and the general public through broadly useful applications. The information products that the SVS Image Server provides are a sampling of the many visualizations and animations developed by the Goddard Scientific Visualization Studio. These products are based on the specific data, missions, and research results deemed important by NASA and are designed to visually explain those results to the public. The focus of the SVS Image Server is to populate a specific server with a large amount of exciting, scientifically diverse products and then, by example and direct technical assistance, to help other NASA entities create their own such servers." }, { "Name": "British Oceanographic Data Centre GEBCO", "URL": "http://www.gebco.net/data_and_products/gebco_web_services/web_map_service/mapserv?", "Description": "The General Bathymetric Chart of the Oceans (GEBCO) consists of an international group of experts who work on the development of a range of bathymetric data sets and products. This service provides access to GEBCO's latest global bathymetric grid, GEBCO_2014, in the form of shaded relief imagery as layer 'GEBCO_LATEST'. It also provides access to imagery based on the Source Identifier (SID) Grid that accompanies the GEBCO_2014 Grid as GEBCO_LATEST_SID. The GEBCO_2014 Grid is a global grid of elevation data at 30 arc-second intervals." } ] } ], "WMTS": [ { "Name": "World", "Children": [ { "Name": "NASA Global Imagery Browse Services (GIBS)", "URL": "https://gibs.earthdata.nasa.gov/wmts/epsg4326/best/1.0.0/WMTSCapabilities.xml", "Protocol": "REST", "Description": "GIBS provides quick access to over 400 satellite imagery products, covering every part of the world. Most imagery is available within a few hours after satellite overpass, some products span almost 30 years." } ] } ] }